import { CardEditableParamsDefault, CardDataEditableParamsCommonDefault } from "@/views/card/js/data/cardDatas/card-datas-default.js";
import TooltipsData from "@/views/card/js/data/tooltipsData/tooltips-data.js";
const CARD_2001 =  {
    card_id: {
      ...CardEditableParamsDefault.InputNormal,
      label: 'Card id',
      placeholder: '请填入Card id',
      disabled: true,
    },
    desc: {
      ...CardEditableParamsDefault.InputNormal,
      label: '描述',
      placeholder: '请填入描述',
    },
    support_toplimit_alert: {
      ...CardEditableParamsDefault.InputNormal,
      label: '上限提示',
      placeholder: '请填入上限提示',
    },
    support_base_url: {
      ...CardEditableParamsDefault.Action,
      label: 'Base URL',
      placeholder: '请填入Base URL',
    },
    support_common_params: {
      ...CardEditableParamsDefault.Obj,
      label: 'PK Topic ID',
      param_params: {
        topic_id: {
          ...CardEditableParamsDefault.InputNormal,
          label: 'Topic ID',
          placeholder: '请填入Topic ID',
          disabled: true,
        },
      },
    },
    left: {
      ...CardEditableParamsDefault.Obj,
      label: '左PK参数',
      param_params: {
        img_url: {
          ...CardEditableParamsDefault.ImageNormal,
          label: '左主图',
          res_type: 'String',  // Array : fileList, String : value
          placeholder: '请选择左主图，jpg/jpeg/png格式',
          limit: 1,
          size: 500,
          accept: '.jpg, .jpeg, .png',
        },
        scheme: {
          ...CardEditableParamsDefault.InputNormal,
          label: '左跳转链接',
          placeholder: '请填入左跳转链接',
        },
        desc: {
          ...CardEditableParamsDefault.InputNormal,
          label: '左描述',
          placeholder: '请填入左描述',
        },
        base: {
          ...CardEditableParamsDefault.InputNormal,
          label: '左支持基数',
          placeholder: '请填入左支持基数',
        },
        count_suffix: {
          ...CardEditableParamsDefault.InputNormal,
          label: '左支持数后缀',
          placeholder: '请填入左支持数后缀',
        },
        btn_text: {
          ...CardEditableParamsDefault.InputNormal,
          label: '左按钮文案',
          placeholder: '请填入左按钮文案',
        },
        btn_scheme: {
          ...CardEditableParamsDefault.InputNormal,
          label: '左按钮链接',
          placeholder: 'sinaweibo://compose?',
        },
        support_count_toplimit: {
          ...CardEditableParamsDefault.SliderNormal,
          label: '左投票上限',
          step: 1,
          max: 100,
          min: 0,
        },
        support_params: {
          ...CardEditableParamsDefault.Obj,
          label: '左PK其他参数',
          param_params: {
            id: {
              ...CardEditableParamsDefault.InputNormal,
              label: '左PK支持ID',
              placeholder: '请填入左PK支持ID',
              disabled: true,
            },
            com_id: {
              ...CardEditableParamsDefault.InputNormal,
              label: '数据查询ID',
              disabled: true,
            }
          },
        },
      },
    },
    right: {
      ...CardEditableParamsDefault.Obj,
      label: '右PK参数',
      param_params: {
        img_url: {
          ...CardEditableParamsDefault.ImageNormal,
          label: '右主图',
          res_type: 'String',  // Array : fileList, String : value
          placeholder: '请选择右主图，jpg/jpeg/png格式',
          limit: 1,
          size: 500,
          accept: '.jpg, .jpeg, .png',
        },
        scheme: {
          ...CardEditableParamsDefault.InputNormal,
          label: '右跳转链接',
          placeholder: '请填入左跳转链接',
        },
        desc: {
          ...CardEditableParamsDefault.InputNormal,
          label: '右描述',
          placeholder: '请填入右描述',
        },
        base: {
          ...CardEditableParamsDefault.InputNormal,
          label: '右支持基数',
          placeholder: '请填入右支持基数',
        },
        count_suffix: {
          ...CardEditableParamsDefault.InputNormal,
          label: '右支持数后缀',
          placeholder: '请填入左支持数后缀',
        },
        btn_text: {
          ...CardEditableParamsDefault.InputNormal,
          label: '右按钮文案',
          placeholder: '请填入右按钮文案',
        },
        btn_scheme: {
          ...CardEditableParamsDefault.InputNormal,
          label: '右按钮链接',
          placeholder: 'sinaweibo://compose?',
        },
        support_count_toplimit: {
          ...CardEditableParamsDefault.SliderNormal,
          label: '右投票上限',
          step: 1,
          max: 100,
          min: 0,
        },
        support_params: {
          ...CardEditableParamsDefault.Obj,
          label: '右PK其他参数',
          param_params: {
            id: {
              ...CardEditableParamsDefault.InputNormal,
              label: '右PK支持ID',
              placeholder: '请填入右PK支持ID',
              disabled: true,
            },
            com_id: {
              ...CardEditableParamsDefault.InputNormal,
              label: '数据查询ID',
              disabled: true,
            }
          },
        },
      },
    },
    ...CardDataEditableParamsCommonDefault,
  };
export default CARD_2001;